///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version May 27 2019)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#pragma once

#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/textctrl.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/button.h>
#include <wx/sizer.h>
#include "mbhelper.h"
#include <wx/panel.h>
#include <wx/frame.h>
#include <wx/treectrl.h>
#include <wx/splitter.h>
#include <wx/aui/auibook.h>
#include <wx/menu.h>
#include <wx/toolbar.h>
#include <wx/statusbr.h>
#include <wx/choice.h>
#include <wx/dataview.h>
#include <wx/statbmp.h>
#include <wx/dialog.h>
#include <wx/aui/aui.h>
#include <wx/aui/auibar.h>
#include "WebViewMiniBlink.h"
#include "jwebviewexechandler.h"
#include "wx/webviewfshandler.h"

///////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////
/// Class TestMainFrameUI
///////////////////////////////////////////////////////////////////////////////
class TestMainFrameUI : public wxFrame
{
	private:

	protected:
		wxStaticText* m_staticText1;
		wxTextCtrl* m_tcNetAddr;
		wxButton* m_btnGo;
		wxPanel* m_panelWebView;
		wxWebView* m_webview;

	public:

		TestMainFrameUI( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("AppGuis"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 744,455 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );

		~TestMainFrameUI();

};

///////////////////////////////////////////////////////////////////////////////
/// Class JBLEditorUI
///////////////////////////////////////////////////////////////////////////////
class JBLEditorUI : public wxPanel
{
	private:

	protected:
		wxSplitterWindow* m_splitter2;
		wxPanel* m_panel6;
		wxSplitterWindow* m_splitter1;
		wxPanel* m_panel2;
		wxStaticText* m_staticText17;
		wxTextCtrl* m_tcBRXM;
		wxStaticText* m_staticText18;
		wxTextCtrl* m_tcBRXB;
		wxStaticText* m_staticText19;
		wxTextCtrl* m_tcBRNL;
		wxStaticText* m_staticText20;
		wxTextCtrl* m_tcZYH;
		wxStaticText* m_staticText21;
		wxTextCtrl* m_tcDQKS;
		wxStaticText* m_staticText23;
		wxTextCtrl* m_tcCWYS;
		wxStaticText* m_staticText231;
		wxTextCtrl* m_tcCurYS;
		wxStaticText* m_staticText24;
		wxTextCtrl* m_tcZYZT;
		wxButton* m_btnUpdate;
		wxButton* m_btnMB;
		wxPanel* m_panel3;
		wxTreeCtrl* m_treeCtrl;
		wxPanel* m_panel7;
		wxAuiNotebook* m_notebook;

		// Virtual event handlers, overide them in your derived class
		virtual void OnBtnUpdate( wxCommandEvent& event ) = 0;
		virtual void OnBtnTemplate( wxCommandEvent& event ) = 0;
		virtual void OnTreeItemActivatedBL( wxTreeEvent& event ) = 0;


	public:

		JBLEditorUI( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 1029,624 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
		~JBLEditorUI();

		void m_splitter2OnIdle( wxIdleEvent& )
		{
			m_splitter2->SetSashPosition( 202 );
			m_splitter2->Disconnect( wxEVT_IDLE, wxIdleEventHandler( JBLEditorUI::m_splitter2OnIdle ), NULL, this );
		}

		void m_splitter1OnIdle( wxIdleEvent& )
		{
			m_splitter1->SetSashPosition( 208 );
			m_splitter1->Disconnect( wxEVT_IDLE, wxIdleEventHandler( JBLEditorUI::m_splitter1OnIdle ), NULL, this );
		}

};

///////////////////////////////////////////////////////////////////////////////
/// Class JMainFrameUI
///////////////////////////////////////////////////////////////////////////////
class JMainFrameUI : public wxFrame
{
	private:

	protected:
		wxMenuBar* m_menubar;
		wxMenu* m_menuFile;
		wxMenu* menu_manager;
		wxToolBar* m_toolBar;
		wxToolBarToolBase* m_toolExit;
		wxAuiNotebook* m_notebook;
		wxStatusBar* m_statusBar;

		// Virtual event handlers, overide them in your derived class
		virtual void OnCloseMainFrame( wxCloseEvent& event ) = 0;
		virtual void OnCommandExit( wxCommandEvent& event ) = 0;
		virtual void OnCommandZYBR( wxCommandEvent& event ) = 0;


	public:

		JMainFrameUI( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("EMRHelper"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 999,727 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );

		~JMainFrameUI();

};

///////////////////////////////////////////////////////////////////////////////
/// Class JInPatientUI
///////////////////////////////////////////////////////////////////////////////
class JInPatientUI : public wxPanel
{
	private:

	protected:
		wxStaticText* m_staticText13;
		wxChoice* m_choiceLoginKS;
		wxStaticText* m_staticText12;
		wxTextCtrl* m_tcCurDoctor;
		wxStaticText* m_staticText14;
		wxChoice* m_choiceYS;
		wxStaticText* m_staticText18;
		wxChoice* m_choiceDays;
		wxStaticText* m_staticText16;
		wxTextCtrl* m_tcSelectKey;
		wxDataViewCtrl* m_lcPatient;

		// Virtual event handlers, overide them in your derived class
		virtual void OnInitPanel( wxInitDialogEvent& event ) = 0;
		virtual void OnChoiceKS( wxCommandEvent& event ) = 0;
		virtual void OnChoicdCWYS( wxCommandEvent& event ) = 0;
		virtual void OnChoiceDays( wxCommandEvent& event ) = 0;
		virtual void OnTextSelectKey( wxCommandEvent& event ) = 0;
		virtual void lcPatient_OnItemActivated( wxDataViewEvent& event ) = 0;


	public:

		JInPatientUI( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 711,558 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
		~JInPatientUI();

};

///////////////////////////////////////////////////////////////////////////////
/// Class JLoginDialogUI
///////////////////////////////////////////////////////////////////////////////
class JLoginDialogUI : public wxDialog
{
	private:

	protected:
		wxStaticBitmap* m_bitmap;
		wxStaticText* m_staticText2;
		wxStaticText* m_staticText4;
		wxChoice* m_choiceXL;
		wxStaticText* m_staticText5;
		wxStaticText* m_staticText6;
		wxTextCtrl* m_tcLoginID;
		wxStaticText* m_staticText7;
		wxStaticText* m_staticText10;
		wxChoice* m_choiceKS;
		wxStaticText* m_staticText11;
		wxStaticText* m_staticText8;
		wxTextCtrl* m_tcPassword;
		wxStaticText* m_staticText9;
		wxStaticText* m_stTips;
		wxButton* m_btnExit;
		wxButton* m_btnLogin;

		// Virtual event handlers, overide them in your derived class
		virtual void OnClose( wxCloseEvent& event ) = 0;
		virtual void OnInitDialog( wxInitDialogEvent& event ) = 0;
		virtual void OnChoiceXL( wxCommandEvent& event ) = 0;
		virtual void OnKillFocusLoginID( wxFocusEvent& event ) = 0;
		virtual void OnTextChangedLoginID( wxCommandEvent& event ) = 0;
		virtual void OnTextChangePassWD( wxCommandEvent& event ) = 0;
		virtual void OnButtonClickExit( wxCommandEvent& event ) = 0;
		virtual void OnButtonClickLogin( wxCommandEvent& event ) = 0;


	public:

		JLoginDialogUI( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("登录到EMRHelper"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 416,262 ), long style = wxDEFAULT_DIALOG_STYLE|wxMINIMIZE_BOX );
		~JLoginDialogUI();

};

///////////////////////////////////////////////////////////////////////////////
/// Class JWebviewEditorUI
///////////////////////////////////////////////////////////////////////////////
class JWebviewEditorUI : public wxPanel
{
	private:

	protected:
		wxAuiToolBar* m_toolbar;
		wxAuiToolBarItem* m_toolUpdate;
		wxWebView* m_webview;
		public:
		inline wxWebView* getWebView()const{return m_webview;}
		protected:


		// Virtual event handlers, overide them in your derived class
		virtual void OnToolClickedUpdate( wxCommandEvent& event ) = 0;


	public:

		JWebviewEditorUI( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 638,535 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
		~JWebviewEditorUI();

};

